﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ZXBuiness
{
   public  class ZXFenRunDetailModel
    {
        ///<summary>
        ///
        ///<summary>
        public long UserFenRunId { get; set; }
        public string OrderCode { get; set; }
        public DateTime payedTime { get; set; }
        public string PayTimeStr {
            get {
                return payedTime.ToString("yyyyMMdd HH:mm:ss");
            }
        }
        ///<summary>
        ///
        ///<summary>
        public long ZX_UserId { get; set; }
        ///<summary>
        ///来自那笔分润info
        ///<summary>
        public long OrderFengyunId { get; set; }
        ///<summary>
        ///是哪个等级，P1 是父亲上级，P2祖父上级，P3曾祖父级
        ///<summary>
        public string FenRunLevel { get; set; }
        ///<summary>
        ///分润所得的钱
        ///<summary>
        public decimal FenRunMoney { get; set; }
        public string StrFenRunMoney
        {
            get
            {
                return FenRunMoney.ToString("#0.00");
            }
        }
        ///<summary>
        ///产生分润的产品
        ///<summary>
        public string ProductId { get; set; }
        ///<summary>
        ///产生分润的产品名
        ///<summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ProductImg { get; set; }

        ///<summary>
        ///产生分润的订单
        ///<summary>
        public string OrderId { get; set; }

        public decimal OrderPayedMoeny { get; set; }
        public string OrderPayedMoenyStr { get {
                return OrderPayedMoeny.ToString("#0.00");
            } }
        public string FromWho { get; set; }
        public string FromWhoId { get; set; }
    }
}
